/**
 * Created by XIAOST on 8/24/2016.
 */
var foodApp = require("./food.server.route");
var clientApp = require("./client.server.route");
var merchantApp = require("./merchant.server.route");
var orderApp = require("./order.server.route");
var cartApp = require("./cart.server.route");
var webServiceApp = require("./webService.server.route");

function fn(app) {
    app.use("/food", foodApp);
    app.use("/order", orderApp);
    app.use("/client", clientApp);
    app.use("/merchant", merchantApp);
    app.use("/cart",cartApp);
    app.use("/ws",webServiceApp);
}

module.exports = fn;
